home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Graphics Studio: Home Publishing 99 / [Microsoft Graphics Studio] Home Publishing 99 (Blue) Disk 2.iso / mhp / template / ees3121.mta / ees3121.MTA
Text File  |  1998-08-10  |  69KB  |  2,215 lines

  1. MIME-Version: 1.0
  2. Content-Type: multipart/related;
  3.     boundary="----=_NextPart_000_1360_01BDBE60.19931790";
  4.     type="multipart/alternative"
  5. X-MMEditor: 00.00.02.1994,MinSave
  6. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
  7.  
  8. This is a multi-part message in MIME format.
  9.  
  10. ------=_NextPart_000_1360_01BDBE60.19931790
  11. Content-Type: multipart/alternative;
  12.     boundary="----=_NextPart_001_1361_01BDBE60.19931790"
  13.  
  14.  
  15. ------=_NextPart_001_1361_01BDBE60.19931790
  16. Content-Type: text/plain;
  17.     charset="iso-8859-1"
  18. Content-Transfer-Encoding: 7bit
  19.  
  20.      Your text here.           
  21.  
  22.  
  23. ------=_NextPart_001_1361_01BDBE60.19931790
  24. Content-Type: text/html;
  25.     charset="iso-8859-1"
  26. Content-Transfer-Encoding: quoted-printable
  27. Content-Location: 
  28.  
  29. <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
  30. <HTML>
  31. <HEAD>
  32.  
  33. <META content=3D"text/html; charset=3Diso-8859-1" =
  34. http-equiv=3DContent-Type>
  35. <META content=3D"MMEditor Version 00.00.02.1994,MinSave" =
  36. name=3DGENERATOR>
  37. <STYLE id=3DDocStyleSheet>.PreCreateRule {
  38.     POSITION: absolute
  39. }
  40. .DocClientData {
  41.     LEFT: 0px; OVERFLOW: hidden; POSITION: absolute; TOP: 20px; VISIBILITY: =
  42. visible
  43. }
  44. .RuntimeScriptDiv {
  45.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  46. }
  47. .SoundElementsDiv {
  48.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  49. }
  50. .Sx1 {
  51.     HEIGHT: 800px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
  52. 30px; VISIBILITY: hidden; WIDTH: 570px; Z-INDEX: 100
  53. }
  54. .PD2 {
  55.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  56. 0px; HEIGHT: 799px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
  57. inherit; WIDTH: 569px; Z-INDEX: 50
  58. }
  59. .Ix3 {
  60.     BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; =
  61. BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; POSITION: absolute; TOP: =
  62. 0px; VISIBILITY: inherit; Z-INDEX: 51
  63. }
  64. .PD8 {
  65.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  66. 0px; HEIGHT: 816px; LEFT: 529px; POSITION: absolute; TOP: 0px; =
  67. VISIBILITY: hidden; WIDTH: 25px; Z-INDEX: 110
  68. }
  69. .Ix9 {
  70.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  71. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  72. Z-INDEX: 111
  73. }
  74. .PD10 {
  75.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  76. 0px; HEIGHT: 816px; LEFT: 15px; POSITION: absolute; TOP: 0px; =
  77. VISIBILITY: hidden; WIDTH: 25px; Z-INDEX: 100
  78. }
  79. .Ix11 {
  80.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  81. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  82. Z-INDEX: 101
  83. }
  84. .PI16 {
  85.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  86. 0px; HEIGHT: 139px; LEFT: 167px; POSITION: absolute; TOP: 22px; =
  87. VISIBILITY: hidden; WIDTH: 251px; Z-INDEX: 120
  88. }
  89. .Ix17 {
  90.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  91. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  92. Z-INDEX: 121
  93. }
  94. .PT23 {
  95.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  96. 0px; HEIGHT: 583px; LEFT: 61px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
  97. PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TEXT-ALIGN: =
  98. center; TOP: 175px; VISIBILITY: hidden; WIDTH: 449px; Z-INDEX: 130
  99. }
  100. DIV {
  101.     FONT-FAMILY: Times New Roman
  102. }
  103. </STYLE>
  104.  
  105. <STYLE id=3DFontStyleSheet>@font-face {
  106.     font-family: Comic Sans MS;
  107.     =
  108. src:url(cid:135e01bdbe9a$c5db0c30$ed5d389d@superwonker.dns.microsoft.com)=
  109. ;
  110. }
  111. </STYLE>
  112.  
  113. </HEAD>
  114. <BODY background=3D"" bgColor=3D#c0c0c0 leftMargin=3D0 topMargin=3D0>
  115. <DIV class=3DPreCreateRule id=3DNavigationButtons style=3D"VISIBILITY: =
  116. hidden">
  117. <FORM name=3DNavigationButtonsForm><INPUT name=3DStart type=3Dbutton =
  118. value=3D"Play  >/Replay >"><INPUT name=3DBackward type=3Dbutton =
  119. value=3D"Back  <<"><INPUT name=3DForward type=3Dbutton value=3D"Forward  =
  120. >>"><INPUT name=3DWebpage type=3Dbutton value=3DAbout...><INPUT =
  121. name=3DSceneStatus type=3Dbutton value=3D" Loading... "></FORM></DIV>=20
  122. <DIV class=3DDocClientData id=3DDocClientData Themes =3D=20
  123. " <AR|ARS1| =
  124. <TT|TTa5|TTb0|TTc30803|TTd5|TTe0|TTf30814|TTg5|TTh0|TTi30818|>|>|"=20
  125. lclJ =3D null lclFrench =3D null lclZ =3D 1 lclEnglish =3D 1 skuOE =3D =
  126. null skuGWDelux =3D 1=20
  127. skuGW =3D null KeyWords =3D null OutputStyle =3D "long page for longer =
  128. message"=20
  129. ProjectType =3D "multimedia greeting" AOPTable =3D=20
  130. " <AR|ARS1| <AP|APa{guid =
  131. {A3649D6E-5058-11CF-9E27-00AA00BBB8AF}}|APbGreetings Workshop|>|>|"=20
  132. GW_NextID =3D 64>
  133. <DIV class=3DSx1 id=3DSx1 PageName =3D PD2 PageEffect =3D=20
  134. " <PE| <TR|TRa0|TRb1|TRc2|TRd1|TRe2|>|PEa0|PEb6|>|" SoundPaths =3D=20
  135. " <AR|ARS2| <SN| =
  136. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45435E4=
  137. D4D4C5D41494E4C535E40303538393F5E2D4944400FFFFDAED00000000000000000000000=
  138. 0000000000000000000000000460023003600230003003300360003004200330043005300=
  139. 6600330083009300460004001600D200D60016002700660096003700E2004600E6003700E=
  140. 200D600960036002700F6003700F60066004700E2003600F600|CPbC:\mmeditor\music\=
  141. Sn00589_.mid|CPccid:02b601bd9e16$a53190c0$6e59389d@a-lingra.dns.microsoft=
  142. .com|CPdSn00589_.mid|>|SNa2|SNb0|SNc0|SNd1|SNe0|>| <SN| =
  143. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45435E4=
  144. D4D4C5D41494E4C52524E43323730323E275146500FFFFDAED00000000000000000000000=
  145. 0000000000000000000000000460023003600230003003300360003004200330043005300=
  146. 6600330083009300460004001600D200D60016002700660096003700E2004600E6003700E=
  147. 200D600960036002700F6003700F60066004700E2003600F600|CPbC:\mmeditor\sounds=
  148. \Rbn32702.wav|CPccid:02ea01bd9e17$0c492ac0$6e59389d@a-lingra.dns.microsof=
  149. t.com|CPdRbn32702.wav|>|SNa0|SNb0|SNc0|SNd0|SNe0|>|>|">
  150. <DIV class=3DPD2 id=3DPD2 PolyPath =3D=20
  151. 1,6,0.286361,365.725,0,799,569,799,569,0,0.286361,0,0.286361,365.725,2,67=
  152. 50207,0,=20
  153. NoBackground =3D 0 ClipPathInfo =3D " <CP|CPaNIL|CPb|CPc|CPd|>|" =
  154. CAGQueryIndx =3D=20
  155. -1><IMG class=3DIx3 id=3DIx3 name=3DIx3=20
  156. src=3D"cid:135501bdbe9a$c57322a0$ed5d389d@superwonker.dns.microsoft.com">=
  157. </DIV>=20
  158. <DIV class=3DPD8 id=3DPD8 SoundPaths =3D " <AR|ARS0|>|" PolyPath =3D=20
  159. 1,6,0.0120785,373.049,0,815,24,815,24,0,0.0120785,0,0.0120785,373.049,2,1=
  160. 6777215,1,6,1,16777215,=20
  161. TravelEffectOptions =3D " <TE|TEa0|TEb0|TEc1|TEd0|>|" EntranceEffect =3D =
  162.  
  163. " <EE| =
  164. <TR|TRa0|TRb0|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg0|>|"=20
  165. ExitEffect =3D=20
  166. " <EE| =
  167. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  168. ButtonEvent =3D=20
  169. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  170. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  171. DrawType =3D 1><IMG class=3DIx9 id=3DIx9 name=3DIx9=20
  172. src=3D"cid:024a01bd9e15$80306900$6e59389d@a-lingra.dns.microsoft.com"></D=
  173. IV>=20
  174. <DIV class=3DPD10 id=3DPD10 SoundPaths =3D " <AR|ARS0|>|" PolyPath =3D=20
  175. 1,6,0.0120785,373.049,0,815,24,815,24,0,0.0120785,0,0.0120785,373.049,2,1=
  176. 6777215,1,6,1,16777215,=20
  177. TravelEffectOptions =3D " <TE|TEa0|TEb0|TEc1|TEd0|>|" EntranceEffect =3D =
  178.  
  179. " <EE| =
  180. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg0|>|"=20
  181. ExitEffect =3D=20
  182. " <EE| =
  183. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  184. ButtonEvent =3D=20
  185. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  186. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  187. DrawType =3D 1><IMG class=3DIx11 id=3DIx11 name=3DIx11=20
  188. src=3D"cid:025301bd9e15$b153c180$6e59389d@a-lingra.dns.microsoft.com"></D=
  189. IV>=20
  190. <DIV class=3DPI16 id=3DPI16 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =
  191. =3D=20
  192. " =
  193. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45414E4=
  194. 94D4C5D41494E4C5A403039353735313E274946400FFFFDAED00000000000000000000000=
  195. 0000000000000000000000000460023003600230003003300360003004200330043005300=
  196. 6600330083009300460004001600D200D60016002700660096003700E2004600E6003700E=
  197. 200D600960036002700F6003700F60066004700E2003600F600|CPbC:\mmeditor\v3graf=
  198. ix\j0095751.gif|CPccid:021701bd9e13$ed925780$6e59389d@a-lingra.dns.micros=
  199. oft.com|CPdj0095751.gif|>|"=20
  200. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|" EntranceEffect =3D =
  201.  
  202. " <EE| =
  203. <TR|TRa7|TRb0|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
  204. ExitEffect =3D=20
  205. " <EE| =
  206. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  207. ButtonEvent =3D=20
  208. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  209. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  210. ImageType =3D 1><IMG class=3DIx17 height=3D139 id=3DIx17 name=3DIx17=20
  211. src=3D"cid:021701bd9e13$ed925780$6e59389d@a-lingra.dns.microsoft.com"=20
  212. width=3D251><FONT face=3D"Comic Sans MS" size=3D4></FONT></DIV><FONT=20
  213. face=3D"Comic Sans MS" size=3D4> </FONT>
  214. <DIV class=3DPT23 id=3DPT23 SoundPaths =3D " <AR|ARS0|>|" =
  215. TravelEffectOptions =3D=20
  216. " <TE|TEa0|TEb2|TEc0|TEd0|>|" EntranceEffect =3D=20
  217. " <EE| =
  218. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
  219. ExitEffect =3D=20
  220. " <EE| =
  221. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  222. ButtonEvent =3D=20
  223. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  224. <CP|CPaNIL|CPb|CPc|CPd|>|>|"><FONT=20
  225. color=3D#000000 face=3D"Comic Sans MS" size=3D4>Your text=20
  226. here.</FONT></DIV></DIV></DIV>   =20
  227. <DIV class=3DSoundElementsDiv id=3DSoundElementsDiv>  <BGSOUND =
  228. id=3DAW62 soundsrc=20
  229. =3D cid:02b601bd9e16$a53190c0$6e59389d@a-lingra.dns.microsoft.com> <IMG=20
  230. src=3D""> <BGSOUND id=3DAW63 soundsrc =3D=20
  231. cid:02ea01bd9e17$0c492ac0$6e59389d@a-lingra.dns.microsoft.com> <IMG=20
  232. src=3D""></DIV> =20
  233. <DIV id=3DNavSoundElementsDiv> <EMBED hidden=3Dtrue id=3DAW62nav =
  234. name=3DAW62nav=20
  235. src=3Dcid:02b601bd9e16$a53190c0$6e59389d@a-lingra.dns.microsoft.com =
  236. autostart =3D no=20
  237. MASTERSOUND></DIV>
  238. <SCRIPT id=3DRuntimeScript language=3DJavaScript>
  239. if ( navigator.appVersion.substring(0,1) < 4 )
  240.  alert("Sorry but your Web browser needs to be updated. You must have at =
  241. least a version 4.0 browser to view this project.");
  242. if ( navigator.appName !=3D "Netscape" )                                            =09
  243. {                                                                                    =09
  244.     document.body.background =3D "";                                                =09
  245.     for ( var ii=3D0; ii<document.all.length; ii++ )                                    =09
  246.         if ((document.all.item(ii).id).indexOf("Sx") !=3D -1)                        =09
  247.             document.all.item(ii).style.filter=3D"revealTrans(duration=3D0, =
  248. transition=3D0)";        =09
  249. }                                                                                    =09
  250.  
  251. var    OBJ_SCENE        =3D 0;        =09
  252. var    OBJ_PLAYER        =3D 1;        =09
  253. var PLAYER_IMAGE    =3D 0;        =09
  254. var    PLAYER_TEXT        =3D 1;        =09
  255. var PLAYER_DRAW        =3D 2;        =09
  256. var    NAME_SCENE        =3D "S"        =09
  257. var    NAME_PLAYER        =3D "P"        =09
  258. var    PLAYER_NAME_IMAGE    =3D "I"    =09
  259. var    PLAYER_NAME_TEXT    =3D "T"
  260. var PLAYER_NAME_DRAW    =3D "D"
  261. var    IE_VISIBLE            =3D "visible";
  262. var    IE_HIDDEN            =3D "hidden";
  263. var    IE_INHERIT            =3D "inherit";
  264. var    NAV_VISIBLE            =3D "show";
  265. var    NAV_HIDDEN            =3D "hide";
  266. var    NAV_INHERIT            =3D "inherit";
  267. var    DEFAULT_TICK_RATE        =3D 100;    =09
  268. var DEFAULT_SCENE_DURATION    =3D 10000;=09
  269. var    DEFAULT_PLAYER_DELAY    =3D 0;    =09
  270. var    TMR_PROJ                =3D 0;    =09
  271. var    TMR_SCENE                =3D 1;    =09
  272. var    RR_NONE                    =3D 0;    =09
  273. var    RR_PAGE_BUTTONS            =3D 1;    =09
  274. var    RR_FULL_RUNTIME            =3D 2;    =09
  275. var    DUR_FOREVER                =3D -1;    =09
  276. var    DELAY_NONE                =3D 0;    =09
  277. var    DELAY_UNTIL_TRANSITION    =3D -1;    =09
  278. var    DELAY_UNTIL_TRIGGER        =3D -2;    =09
  279. var    DUR_UNTIL_DONE            =3D -1;    =09
  280. var TT_ALL_MOUSE_EVENTS    =3D 0;    =09
  281. var    TT_BUTTONDOWN            =3D 1;    =09
  282. var    TT_BUTTONUP                =3D 2;    =09
  283. var    TT_MOUSEOVER            =3D 3;    =09
  284. var    TT_MOUSEOUT                =3D 4;    =09
  285. var    TB_PAGE_TURNER            =3D -1;    =09
  286. var    TB_START_PLAYER            =3D -2;    =09
  287. var NULL_TRANSITION            =3D -1;
  288. var    TEXT_FLYIN                =3D 101;
  289. var TEXT_TYPEWRITER        =3D 102;
  290. var    FLYIN_TOP                =3D 0;
  291. var    FLYIN_BOTTOM            =3D 1;
  292. var    FLYIN_LEFT                =3D 2;
  293. var    FLYIN_RIGHT                =3D 3;
  294. var    FLYIN_ROTATE            =3D 4;
  295. var    FLYIN_BY_LETTER            =3D 1;
  296. var    FLYIN_BY_WORD            =3D 2;
  297. var    FLYIN_BY_LINE            =3D 3;
  298. var    FLYIN_PER_TICK =3D new Array (200, 160, 120, 80, 40);    =09
  299. var    TRANSITION_RATES =3D new Array(1,2,3,4,5);            =09
  300. var    PS_UNINITIALIZED    =3D 0;
  301. var PS_INITIALIZED        =3D 1;
  302. var    PS_RUNNING            =3D 2;
  303. var PS_PAUSED            =3D 3;
  304. var PS_COMPLETE            =3D 4;
  305. var    sceneArray        =3D new Array();=09
  306. var currentScene    =3D null;        =09
  307. var nScenes            =3D 0;        =09
  308. var stProjState =3D PS_UNINITIALIZED;=09
  309. var stButtons    =3D false;        =09
  310. var    stNoInput    =3D 0;            =09
  311. var strPause =3D new Array( "" );
  312. var strPlay =3D new Array( "" );
  313. var    formStatus =3D null;
  314. var    tickTimer        =3D null;        =09
  315. var sys            =3D navigator.appName;                                    =09
  316. var vers        =3D navigator.appVersion.substring(0,1);                    =09
  317. var os            =3D navigator.appVersion.indexOf("NT") >=3D 0 ? "NT" : "95";=09
  318. var    platform    =3D navigator.platform;                                    =09
  319. window.onload =3D PreSetup;
  320. window.onerror =3D Error;
  321. function Error()
  322. {
  323.     alert("There has been an unidentified error in this file's script. You =
  324. may be able to fix this problem by refreshing your browser.");
  325.     return true;
  326. }
  327. function Project( tickRate, startScene, stopScene, rtReq, autoStart, =
  328. delay, webpage )
  329. {
  330.     this.tickRate =3D tickRate;
  331.     this.startScene =3D startScene;
  332.     this.stopScene =3D stopScene;
  333.     this.rtReq =3D rtReq;
  334.     this.autoStart =3D autoStart;
  335.     this.delay =3D delay;
  336.     this.webpage =3D webpage;
  337. }
  338. function PreSetup()
  339. {
  340.     if ( (Project.delay !=3D null) && (Project.delay !=3D 0) )        =09
  341.     {
  342.         setTimeout( "Setup();", Project.delay*1000 );=20
  343.         return;
  344.     }
  345. =09
  346.     Setup();
  347. }
  348. function Setup()=20
  349. { =20
  350.     stNoInput++;                            =09
  351.     if ( vers < 4 ) return;                    =09
  352.     if ( sys =3D=3D "Netscape" )                =09
  353.     {
  354.         document.all =3D new Array;            =09
  355.         Extract(document);                    =09
  356.     =09
  357.         document.body =3D new Object;
  358.         document.body.clientWidth =3D window.innerWidth;
  359.         document.body.clientHeight =3D window.innerHeight;
  360.         document.body.scrollTop =3D window.pageXOffset;=20
  361.         document.body.scrollLeft =3D window.pageYOffset;
  362.     }
  363.     stButtons =3D SetupButtons();                =09
  364.     ProjectInitialize();                    =09
  365.     stNoInput--;                            =09
  366.     if ( (stButtons =3D=3D false) || (Project.autoStart =3D=3D true) )=09
  367.         Start();                                            =09
  368. }
  369. function ProjectInitialize()
  370. {
  371. =09
  372.     tickTimer =3D new Timer();
  373. =09
  374. =09
  375.     InitializeScenes();
  376. =09
  377.     tickTimer.StartTicking();                            =09
  378. =09
  379.     if ( Project.startScene =3D=3D null )        =09
  380.         Project.startScene =3D 0;                =09
  381.     stProjState =3D PS_INITIALIZED;            =09
  382. =09
  383. }
  384. function ProjectStart( startScene )
  385. {
  386.     stProjState =3D PS_RUNNING;
  387.     if ( startScene !=3D null )
  388.         ChangeScene( startScene );
  389.     else
  390.         ChangeScene( Project.startScene );
  391. }
  392. function ProjectComplete()
  393. {
  394.     if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  395.         return;                                =09
  396.     ProjectShutdown();
  397.     StatusChange();                            =09
  398. }
  399. function ProjectShutdown()
  400. {
  401.     KillTimer();                                    =09
  402.     StopEverythingOnScenes( false );
  403.     currentScene =3D null;
  404.     stProjState =3D PS_COMPLETE;                        =09
  405. }
  406. function Extract( obj )
  407. {
  408. =09
  409. =09
  410.     for (var intLayer =3D 0; intLayer< obj.layers.length; intLayer++)=09
  411.     {
  412.         var el =3D obj.layers[intLayer];        =09
  413.         document.all[el.id] =3D new Object    =09
  414.         var newEl =3D document.all[el.id];    =09
  415.     =09
  416.         newEl.id =3D el.id;                            =09
  417.         newEl.style =3D new Object;                    =09
  418.         newEl.style.pixelTop =3D parseInt(el.top);
  419.         newEl.style.pixelLeft =3D parseInt(el.left);
  420.         if (null!=3Del.clip)=20
  421.         {
  422.             newEl.offsetWidth =3D el.clip.width;    =09
  423.             newEl.offsetHeight =3D el.clip.height
  424.         }
  425.     =09
  426.         if        ( el.visibility =3D=3D NAV_HIDDEN )
  427.             newEl.style.visibility =3D IE_HIDDEN;
  428.         else if ( el.visibility =3D=3D NAV_VISIBLE )
  429.             newEl.style.visibility =3D IE_VISIBLE;
  430.         else if    ( el.visibility =3D=3D NAV_INHERIT )
  431.             newEl.style.visibility =3D IE_INHERIT;
  432.         else
  433.             newEl.style.visibility =3D "";
  434.     =09
  435.         newEl.style.zIndex =3D el.zIndex;
  436.         newEl.style.backgroundColor =3D el.bgColor;
  437.         newEl.style.backgroundImage =3D "url("+el.background+")";
  438.         newEl.NSLayer =3D el;                        =09
  439.     =09
  440.     =09
  441.     =09
  442.         for (var intLoop =3D 0; intLoop< el.document.images.length; intLoop++)
  443.         {
  444.             var image =3D el.document.images[intLoop]    =09
  445.             var    imageName =3D image.name;                =09
  446.             if ( imageName =3D=3D null )                =09
  447.                 continue;                            =09
  448.         =09
  449.             document.all[imageName] =3D image;        =09
  450.             document.images[imageName] =3D image;        =09
  451.         }
  452.     =09
  453.         for (var intLoop =3D 0; intLoop< el.document.forms.length; intLoop++)=20
  454.         {
  455.             var form =3D el.document.forms[intLoop];    =09
  456.             var formName =3D form.name;                =09
  457.             if ( formName =3D=3D null )
  458.                 continue;
  459.             document.all[formName] =3D form;            =09
  460.             document.forms[formName] =3D form;        =09
  461.         =09
  462.             for ( var innerLoop =3D 0; innerLoop < form.elements.length; =
  463. innerLoop++)
  464.             {
  465.                 var element =3D form.elements[innerLoop]=09
  466.                 var elementName =3D element.name;
  467.                 if ( elementName =3D=3D null )            =09
  468.                     continue;
  469.                 document.all[elementName] =3D element;=09
  470.             }
  471.         }
  472.         if ( el.layers.length > 0 )                =09
  473.             Extract(el)                            =09
  474.     }
  475. }
  476. function Scene( duration )
  477. {
  478.     this.duration =3D duration;
  479. }
  480. function InitializeScenes()
  481. {
  482.     var objScene;                            =09
  483.     var sceneNumber =3D 0;                    =09
  484. =09
  485.     for ( sceneName in Scenes )
  486.     {
  487.         objScene =3D Scenes[sceneName];        =09
  488.         objScene.number =3D parseInt(sceneNumber);                =09
  489.         objScene.name =3D sceneName;                    =09
  490.         objScene.HTML =3D document.all[sceneName];    =09
  491.         SetVisibility( objScene.HTML, IE_HIDDEN );=09
  492.         if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  493.             objScene.duration =3D DUR_FOREVER;
  494.         InitializePlayers( objScene );        =09
  495.     =09
  496.         if ( objScene.entryTrans =3D=3D null )
  497.         {
  498.             objScene.entryTrans =3D new Object();
  499.             objScene.entryTrans.type =3D NULL_TRANSITION;
  500.         }
  501.     =09
  502.         if ( objScene.Bhv !=3D null )
  503.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  504. bhvIdx++ )=09
  505.                 bhv.Initialize( objScene, bhv);
  506.         objScene.numBhv =3D bhvIdx;                                            =09
  507.         sceneArray[sceneNumber++] =3D objScene;=09
  508.     }
  509.     nScenes =3D sceneNumber;                    =09
  510. }
  511. function StopEverythingOnScenes( fPause )
  512. {
  513.     var objScene;                            =09
  514.     for ( sceneName in Scenes )
  515.     {
  516.         objScene =3D Scenes[sceneName];                    =09
  517.     =09
  518.     =09
  519.         if ( objScene.Bhv !=3D null )
  520.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  521. bhvIdx++ )=09
  522.                 bhv.StopEverything( bhv, fPause );
  523.         StopEverythingOnPlayers( objScene, fPause );        =09
  524.     }
  525.     return;
  526. }
  527. function ChangeScene( nextSceneNumber )
  528. {
  529.     var    previousScene =3D currentScene;                    =09
  530.     StopSceneTimers();                                    =09
  531.     currentScene =3D GetSceneFromNumber( nextSceneNumber );=09
  532.     currentScene.previousScene =3D previousScene;            =09
  533.     if ( currentScene.duration =3D=3D null )                =09
  534.         currentScene.duration =3D DEFAULT_SCENE_DURATION;    =09
  535. =09
  536.     if ( currentScene.Bhv !=3D null )
  537.         for ( var bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  538.         {
  539.             var bhv =3D currentScene.Bhv[bhvIdx]
  540.             if ( bhv =3D=3D null)                            =09
  541.                 continue;
  542.             var delay =3D bhv.delay
  543.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  544.                 bhv.Start( bhv );                                    =09
  545.             else if ( delay > 0 )                                =09
  546.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  547.         }
  548.     StartScenePlayers( currentScene );                            =09
  549.     StartTransition( currentScene, currentScene.entryTrans, IE_VISIBLE, =
  550. SceneTransitionDone );=09
  551. =09
  552.     if ( currentScene.duration !=3D DUR_FOREVER )            =09
  553.         StartOneShotTimer( currentScene, currentScene.duration, SceneExit, =
  554. TMR_SCENE );
  555.     StatusChange();                                        =09
  556.     return;
  557. }
  558. function SceneTransitionDone( objScene )
  559. {
  560. =09
  561. =09
  562.     if ( currentScene.previousScene !=3D null )
  563.         SetVisibility( currentScene.previousScene.HTML, IE_HIDDEN );
  564. =09
  565.     if ( currentScene.Bhv !=3D null )
  566.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  567.         {
  568.             var bhv =3D currentScene.Bhv[bhvIdx]
  569.             if ( bhv =3D=3D null)                            =09
  570.                 continue;
  571.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  572.                 bhv.Start( bhv );                                =09
  573.         }
  574.     =09
  575.     StartScenePlayersAfterTransition( currentScene );=09
  576. }
  577. function SceneExit( thisScene, nextScene )
  578. {
  579.     var nextSceneNumber =3D nextScene =3D=3D null ? currentScene.number+1 : =
  580. nextScene.number;
  581.     var finalScene =3D (nextSceneNumber <=3D Project.stopScene) ? false : =
  582. true;
  583. =09
  584. =09
  585. =09
  586.     for ( playerName in currentScene.Players )
  587.     {
  588.         objPlayer =3D currentScene.Players[playerName];        =09
  589.         PlayerExitTransitionDone( objPlayer, finalScene );    =09
  590.     }
  591. =09
  592.     if ( currentScene.Bhv !=3D null )
  593.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  594.         {
  595.             var bhv =3D currentScene.Bhv[bhvIdx]
  596.             if ( bhv =3D=3D null)                            =09
  597.                 continue;
  598.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  599.                 bhv.Stop( bhv );                        =09
  600.         }
  601. =09
  602. =09
  603.     if ( finalScene =3D=3D false )                    =09
  604.         ChangeScene( nextSceneNumber )            =09
  605.     else
  606.         ProjectComplete()                        =09
  607.     =09
  608. }
  609. function Player( delay, duration )
  610. {
  611.     this.delay =3D delay;
  612.     this.duration =3D duration;
  613. }
  614. function InitializePlayers( objScene )
  615. {
  616.     var objPlayer;                        =09
  617.     var    playerNumber =3D 0;                =09
  618.     for ( playerName in objScene.Players )
  619.     {
  620.         objPlayer =3D objScene.Players[playerName];        =09
  621.         objPlayer.number =3D playerNumber;                =09
  622.         objPlayer.name =3D playerName;                    =09
  623.         objPlayer.HTML =3D document.all[playerName];        =09
  624.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  625.         objPlayer.position =3D new Position(objPlayer);    =09
  626.     =09
  627.         if ( objPlayer.delay =3D=3D null )                    =09
  628.             objPlayer.delay =3D DEFAULT_PLAYER_DELAY;        =09
  629.     =09
  630.     =09
  631.         if        ( objPlayer.entryTrans =3D=3D null )
  632.         {
  633.             objPlayer.entryTrans =3D new Object();
  634.             objPlayer.entryTrans.type =3D NULL_TRANSITION;
  635.         }=20
  636.     =09
  637.         else if ((objPlayer.entryTrans !=3D null) &&            =09
  638.             (GetPlayerTypeFromName(objPlayer.name) =3D=3D PLAYER_TEXT))
  639.         {
  640.             if ( (objPlayer.entryTrans.type =3D=3D TEXT_FLYIN) || =
  641. (objPlayer.entryTrans.type =3D=3D TEXT_TYPEWRITER) )
  642.                 if ( InitializeTextFlyin( objPlayer ) =3D=3D false )
  643.                     objPlayer.entryTrans.type =3D null;                            =09
  644.         }
  645.     =09
  646.         if ( objPlayer.exitTrans =3D=3D null )
  647.         {
  648.             objPlayer.exitTrans =3D new Object();
  649.             objPlayer.exitTrans.type =3D NULL_TRANSITION;
  650.         }
  651.     =09
  652.         if ( objPlayer.Bhv !=3D null )
  653.         {
  654.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  655.  
  656.                 bhv.Initialize( objPlayer, bhv);
  657.             objPlayer.numBhv =3D bhvIdx;                                    =09
  658.         }
  659.         else
  660.             objPlayer.numBhv =3D 0;
  661.         playerNumber ++;                =09
  662.     }=09
  663. }
  664. function StopEverythingOnPlayers( objScene, fPause )
  665. {
  666.     var objPlayer;                        =09
  667.     for ( playerName in objScene.Players )
  668.     {
  669.         objPlayer =3D objScene.Players[playerName];        =09
  670.     =09
  671.     =09
  672.         if ( objPlayer.Bhv !=3D null )
  673.         {
  674.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  675.  
  676.                 bhv.StopEverything( bhv, fPause );
  677.         }
  678.         DisableTrigger( objPlayer );                    =09
  679.     }=09
  680.     return;
  681. }
  682. function StartScenePlayers( objScene )
  683. {
  684. =09
  685.     for ( playerName in objScene.Players )
  686.     {
  687.         objPlayer =3D objScene.Players[playerName];        =09
  688.     =09
  689.     =09
  690.     =09
  691.         if        ( objPlayer.delay =3D=3D DELAY_NONE )        =09
  692.             StartPlayer( objPlayer )                    =09
  693.         else if ( objPlayer.delay    > 0 )                =09
  694.             StartOneShotTimer( objPlayer, objPlayer.delay, StartPlayer, =
  695. TMR_SCENE);
  696.     }
  697. }
  698. function StartScenePlayersAfterTransition( objScene )
  699. {
  700. =09
  701.     for ( playerName in objScene.Players )
  702.     {
  703.         objPlayer =3D objScene.Players[playerName];        =09
  704.         if ( objPlayer.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
  705.             StartPlayer( objPlayer )                    =09
  706.     }
  707. }
  708. function StartPlayer( objPlayer )
  709. {
  710. =09
  711.     if ( objPlayer.Bhv !=3D null )
  712.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  713.         {
  714.             var bhv =3D objPlayer.Bhv[bhvIdx]
  715.             if ( bhv =3D=3D null)                            =09
  716.                 continue;
  717.             var delay =3D bhv.delay
  718.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  719.                 bhv.Start( bhv );                                =09
  720.             else if ( delay > 0 )                                =09
  721.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  722.         }
  723. =09
  724.     StartTransition( objPlayer, objPlayer.entryTrans, IE_VISIBLE, =
  725. PlayerEntryTransitionDone );
  726. =09
  727. =09
  728.     if ( objPlayer.duration > 0 )
  729.         StartOneShotTimer( objPlayer, objPlayer.duration, PlayerExit, =
  730. TMR_SCENE );                                =09
  731. }
  732. function PlayerEntryTransitionDone( objPlayer )
  733. {
  734. =09
  735.     if ( objPlayer.Bhv !=3D null )
  736.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  737.         {
  738.             var bhv =3D objPlayer.Bhv[bhvIdx]
  739.             if ( bhv =3D=3D null)                            =09
  740.                 continue;
  741.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  742.                 bhv.Start( bhv );                                =09
  743.         }
  744. =09
  745.     if ( objPlayer.Triggers !=3D null )
  746.         EnableTrigger( objPlayer );
  747. }
  748. function PlayerExit( objPlayer )
  749. {
  750. =09
  751.     StartTransition( objPlayer, objPlayer.exitTrans, IE_HIDDEN, =
  752. PlayerExitTransitionDone );
  753. }
  754. function PlayerExitTransitionDone( objPlayer, finalScene )
  755. {
  756. =09
  757.     if ( objPlayer.Bhv !=3D null )
  758.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  759.         {
  760.             var bhv =3D objPlayer.Bhv[bhvIdx]
  761.             if ( bhv =3D=3D null)                            =09
  762.                 continue;
  763.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  764.                 bhv.Stop( bhv );                        =09
  765.         }
  766. =09
  767.     if ( (finalScene =3D=3D null) || (finalScene =3D=3D false) )
  768.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  769. =09
  770. =09
  771. =09
  772.     if ( (sys !=3D "Netscape") && (objPlayer.HTML.Preview !=3D null) )
  773.         SetVisibility( objPlayer.HTML, IE_VISIBLE );=20
  774.     return;
  775. }
  776. function Trigger( trigType, trigBhv, player, scene )
  777. {
  778.     this.triggerType =3D trigType;
  779.     this.triggerBhv =3D trigBhv;
  780.     this.player =3D player;
  781.     this.nextSceneNum =3D scene;
  782. }
  783. function EnableTrigger( objPlayer )
  784. {
  785.     if ( sys !=3D "Netscape" )                                =09
  786.     {
  787.         objPlayer.HTML.style.cursor=3D"hand";                    =09
  788.         for ( trx in objPlayer.Triggers )                    =09
  789.         {
  790.             var    trigger =3D objPlayer.Triggers[trx];            =09
  791.             if ( trigger.triggerType =3D=3D null )
  792.                 trigger.triggerType =3D 0;                    =09
  793.             var tt =3D trigger.triggerType;                    =09
  794.             if            ( tt =3D=3D TT_ALL_MOUSE_EVENTS )                            =09
  795.             {
  796.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  797.                 objPlayer.HTML.onmouseup =3D EventProcessor;=09
  798.                 objPlayer.HTML.onmouseover =3D EventProcessor;    =09
  799.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  800.             }
  801.             else if        ( tt =3D=3D TT_BUTTONDOWN )                =09
  802.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  803.             else if        ( tt =3D=3D TT_BUTTONUP )        =09
  804.                 objPlayer.HTML.onmouseup =3D EventProcessor;
  805.             else if        ( tt =3D=3D TT_MOUSEOVER )        =09
  806.                 objPlayer.HTML.onmouseover =3D EventProcessor;
  807.             else if        ( tt =3D=3D TT_MOUSEOUT )        =09
  808.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  809.         }
  810.     }
  811.     else                                        =09
  812.     {
  813.         for ( trx in objPlayer.Triggers )        =09
  814.         {
  815.             var    trigger =3D objPlayer.Triggers[trx];=09
  816.             if ( trigger.triggerType =3D=3D null )
  817.                 trigger.triggerType =3D 0;                    =09
  818.             var tt =3D trigger.triggerType;                    =09
  819.             if ( tt=3D=3D 0 )                                    =09
  820.             {
  821.                 objPlayer.HTML.NSLayer.captureEvents( Event.MOUSEUP | =
  822. Event.MOUSEDOWN | Event.MOUSEOVER | Event.MOUSEOUT );
  823.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  824.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  825.                 objPlayer.HTML.NSLayer.onMouseOver =3D EventProcessor;
  826.                 objPlayer.HTML.NSLayer.onMouseOut =3D EventProcessor;
  827.             }
  828.             else if    ( tt =3D=3D TT_BUTTONUP )
  829.             {
  830.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  831.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  832.             }
  833.             else if ( tt =3D=3D TT_BUTTONDOWN )
  834.             {
  835.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  836.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  837.             }
  838.         }
  839.     =09
  840.     }
  841. }
  842. function DisableTrigger( objPlayer )
  843. {
  844.     if ( sys !=3D "Netscape" )            =09
  845.     {
  846.         objPlayer.HTML.onmousedown =3D null;
  847.         objPlayer.HTML.onmouseup =3D null;=09
  848.         objPlayer.HTML.onmouseover =3D null;    =09
  849.         objPlayer.HTML.onmouseout =3D null;
  850.     }
  851.     else                                =09
  852.         objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP | Event.MOUSEDOWN | =
  853. Event.MOUSEOVER | Event.MOUSEOUT );
  854. }
  855. function EventProcessor( e )
  856. {
  857.     var trigger;                                =09
  858.     var    type;                                    =09
  859.     var    button;                                    =09
  860.     var    eventType;                                =09
  861.     var objPlayer;                                =09
  862.     if ( (objPlayer =3D GetPlayerFromName(this.id)) =3D=3D null)=09
  863.         return;
  864.     if ( sys !=3D "Netscape" )                    =09
  865.     {
  866.         type =3D event.type;
  867.         button =3D event.button;
  868.     }
  869.     else                                        =09
  870.     {
  871.         type =3D e.type;
  872.         button =3D e.which;
  873.     }
  874. =09
  875.     if (type =3D=3D "mousedown")
  876.     {
  877.         if ( button !=3D 1 )                    =09
  878.             return;
  879.         eventType =3D TT_BUTTONDOWN;
  880.         if ( sys =3D=3D "Netscape" )            =09
  881.         {
  882.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEDOWN);
  883.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  884.         }
  885.     }
  886.     else if (type =3D=3D "mouseup")
  887.     {
  888.         if ( button !=3D 1 )                    =09
  889.             return;
  890.         eventType =3D TT_BUTTONUP;
  891.         if ( sys =3D=3D "Netscape" )            =09
  892.         {
  893.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP);
  894.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  895.         }
  896.     }
  897.     else if (type =3D=3D "mouseover")
  898.     {
  899.         eventType =3D TT_MOUSEOVER;
  900.     }
  901.     else if (type =3D=3D "mouseout")
  902.     {
  903.         eventType =3D TT_MOUSEOUT;
  904.     }
  905.     var triggerArray =3D objPlayer.Triggers;        =09
  906.     var trigger;                                =09
  907. =09
  908.     for ( var trx=3D0; (trigger=3DtriggerArray[trx]) !=3D null; trx++ )
  909.     {
  910.         if ( (trigger.triggerType =3D=3D 0) || (trigger.triggerType =3D=3D =
  911. eventType) )
  912.         {
  913.         =09
  914.         =09
  915.         =09
  916.             if        ( trigger.triggerBhv =3D=3D TB_PAGE_TURNER )
  917.             {
  918.             =09
  919.             =09
  920.                 if ( (trigger.nextSceneNum =3D=3D null) || (trigger.nextSceneNum =
  921. =3D=3D "") )
  922.                     SceneExit( currentScene );
  923.                 else
  924.                 {
  925.                     if ( Scenes[trigger.nextSceneNum].number < currentScene.number )
  926.                     {
  927.                         for ( ii=3D0; ii<=3DcurrentScene.number; ii++ )
  928.                             InitializePlayers( sceneArray[ii] );
  929.                     }
  930.                     SceneExit( currentScene, Scenes[trigger.nextSceneNum] );
  931.                 }
  932.             }
  933.             else if    ( trigger.triggerBhv =3D=3D TB_START_PLAYER )
  934.                 StartPlayer( GetPlayerFromName( trigger.player ) );            =09
  935.             else=20
  936.             {
  937.             =09
  938.                 var objTrigPlayer =3D GetPlayerFromName( trigger.player );    =09
  939.                 var bhv =3D objTrigPlayer.Bhv[trigger.triggerBhv];            =09
  940.                 bhv.Trigger( bhv, eventType );                                =09
  941.             }  =09
  942.         }
  943.     }
  944.     return;=09
  945. }
  946. function Transition( type, rate, flyFrom, flySubtype )
  947. {
  948.     this.type =3D type;
  949.     this.rate =3D rate;
  950.     this.flyFrom =3D flyFrom;
  951.     this.flySubtype =3D flySubtype;
  952. }
  953. function StartTransition( transObj, trans, visibility, callback )
  954. {
  955.     var    playerType =3D GetObjectTypeFromName( transObj.name );    =09
  956. =09
  957. =09
  958. =09
  959.     if    ( ("Netscape" =3D=3D sys) ||=20
  960.         ( (playerType =3D=3D OBJ_PLAYER) && (trans.type =3D=3D =
  961. NULL_TRANSITION) ) )
  962.     {
  963.         SetVisibility( transObj.HTML, visibility );
  964.         callback( transObj );
  965.         return;
  966.     }
  967. =09
  968. =09
  969. =09
  970. =09
  971.     if ( ((trans.type =3D=3D TEXT_FLYIN) || (trans.type =3D=3D =
  972. TEXT_TYPEWRITER)) && (visibility =3D=3D IE_VISIBLE) )
  973.     {
  974.         StartTextFlyin( transObj );
  975.         return;
  976.     }
  977. =09
  978.     if ( platform !=3D "Win32" )
  979.     {
  980.         SetVisibility( transObj.HTML, visibility );
  981.         callback( transObj );
  982.         return;
  983.     }
  984.     =09
  985. =09
  986. =09
  987. =09
  988. =09
  989. =09
  990.     if ( trans.type =3D=3D NULL_TRANSITION )
  991.     {
  992.         transObj.HTML.style.filter =3D "revealTrans(duration=3D0, =
  993. transition=3D0)";
  994.     }
  995.     else    =09
  996.     {
  997.         duration =3D TRANSITION_RATES[trans.rate];
  998.         transObj.HTML.style.filter =3D "revealTrans(duration=3D" + duration + =
  999. ", transition=3D" + trans.type + ")";
  1000.     }
  1001.     stNoInput++;                                    =09
  1002.     transObj.HTML.filters(0).Apply();                =09
  1003. =09
  1004.     SetVisibility( transObj.HTML, visibility );        =09
  1005. =09
  1006.     transObj.HTML.filters(0).Play()                    =09
  1007.     transObj.HTML.onfilterchange =3D TransitionDoneEvent;=09
  1008. }
  1009. function TransitionDoneEvent( )
  1010. {
  1011.     var    type =3D GetObjectTypeFromName( event.srcElement.id );    =09
  1012.     stNoInput--;                                                =09
  1013.     if        ( type =3D=3D OBJ_SCENE )
  1014.     {
  1015.     =09
  1016.         if ( (currentScene !=3D null) && (event.srcElement.id =3D=3D =
  1017. currentScene.name) )
  1018.             SceneTransitionDone();
  1019.     }
  1020.     else if    ( type =3D=3D OBJ_PLAYER )        =09
  1021.     {
  1022.         var objPlayer =3D GetPlayerFromName( event.srcElement.id );
  1023.         if ( this.style.visibility =3D=3D IE_VISIBLE )                =09
  1024.             PlayerEntryTransitionDone( objPlayer ); =20
  1025.         else                                                    =09
  1026.             PlayerExitTransitionDone( objPlayer, false );
  1027.     }
  1028.     return;
  1029. }
  1030. function InitializeTextFlyin( objPlayer )
  1031. {
  1032.     if ( sys =3D=3D "Netscape" )                                    =09
  1033.         return false;
  1034.     var    transition =3D objPlayer.entryTrans;                        =09
  1035.     var    transUnits =3D transition.flySubtype;                        =09
  1036.     var    movePerTick    =3D parseInt(FLYIN_PER_TICK[transition.rate]);=09
  1037. =09
  1038.     var    transDirection =3D (transition.type =3D=3D TEXT_FLYIN) ? =
  1039. transition.flyFrom : FLYIN_TOP;    =09
  1040.     =09
  1041. =09
  1042.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1043.     {
  1044.         var    textHTML    =3D objPlayer.HTML;                =09
  1045.         var    oldInnerHTML    =3D textHTML.innerHTML;        =09
  1046.         var    newInnerHTML    =3D "";                        =09
  1047.     =09
  1048.         transition.textOrder =3D new Array();                =09
  1049.         textOrder =3D transition.textOrder;                =09
  1050. =09
  1051.     =09
  1052.     =09
  1053.     =09
  1054.     =09
  1055.         var flyinIdx =3D 0;                        =09
  1056.         var    flyinBuffer =3D "";
  1057.     =09
  1058.     =09
  1059.     =09
  1060.         var spanStyle =3D (transition.type =3D=3D TEXT_FLYIN) ? " =
  1061. style=3D'position:relative;visibility:hidden;'" : " =
  1062. style=3D'visibility:hidden;'";
  1063.         for ( var letterIdx=3D0; letterIdx<oldInnerHTML.length; )
  1064.         {
  1065.         =09
  1066.             tempID =3D objPlayer.name+"_tempID"+flyinIdx.toString();
  1067.             newInnerHTML +=3D "<span id=3D" + tempID + spanStyle + ">";
  1068.             while ( letterIdx<oldInnerHTML.length )
  1069.             {
  1070.             =09
  1071.             =09
  1072.             =09
  1073.                 if ( ( (charNext =3D oldInnerHTML.substring(letterIdx, letterIdx+1)) =
  1074. =3D=3D "<") || (charNext =3D=3D "&") )    =09
  1075.                 {
  1076.                     if ( charNext =3D=3D "<" )                                                                =09
  1077.                         endTagIdx =3D oldInnerHTML.indexOf( ">", letterIdx );=09
  1078.                     else
  1079.                         endTagIdx =3D oldInnerHTML.indexOf( ";", letterIdx );=09
  1080.                     var tagString =3D oldInnerHTML.substring( letterIdx, ++endTagIdx );
  1081.                     newInnerHTML +=3D tagString;
  1082.                     letterIdx =3D endTagIdx;                                            =09
  1083.                 =09
  1084.                     if ( ((tagString =3D=3D "</P>") || (tagString =3D=3D "<BR>")) &&
  1085.                         (transUnits !=3D FLYIN_BY_LETTER)    )                                    =09
  1086.                         break;
  1087.                 }
  1088.             =09
  1089.                 else
  1090.                 {
  1091.                     thisChar =3D oldInnerHTML.substring( letterIdx, ++letterIdx );
  1092.                     newInnerHTML +=3D thisChar;
  1093.                     if        ( transUnits =3D=3D FLYIN_BY_LETTER )        =09
  1094.                         break;                                        =09
  1095.                     else if    ( (transUnits =3D=3D FLYIN_BY_WORD ) && thisChar =3D=3D " " =
  1096. )    =09
  1097.                         break;
  1098.                 }
  1099.             }
  1100.             newInnerHTML +=3D "</span>"
  1101.             textOrder[flyinIdx] =3D new Object();
  1102.             textOrder[flyinIdx].name =3D tempID;                                    =09
  1103.             flyinIdx++;                                                            =09
  1104.         }
  1105.     =09
  1106.         if ( flyinIdx =3D=3D 0 )
  1107.             return false;
  1108.     =09
  1109.         textHTML.innerHTML =3D newInnerHTML;
  1110.         transition.numUnits =3D flyinIdx;                        =09
  1111.     }
  1112. =09
  1113. =09
  1114. =09
  1115.     textOrder =3D transition.textOrder;
  1116.     var currentEl =3D document.all[textOrder[0].name];    =09
  1117.     var currentOffset =3D currentEl.offsetLeft;=09
  1118.     var previousEl, previousOffset;
  1119.     for ( var count=3D0; count<transition.numUnits; count++ )        =09
  1120.     {
  1121.         previousOffset =3D currentOffset;                            =09
  1122.         previousEl =3D currentEl;
  1123.         textElName =3D textOrder[count].name;                    =09
  1124.         currentEl =3D document.all[textElName];
  1125.         SetVisibility( currentEl, IE_HIDDEN );
  1126.         currentOffset =3D currentEl.offsetTop;
  1127.     =09
  1128.     =09
  1129.     =09
  1130.     =09
  1131.     =09
  1132.     =09
  1133.         if ( currentOffset !=3D previousOffset )                                =09
  1134.             if ( previousEl.innerHTML =3D=3D " " )                                    =09
  1135.                 previousEl.innerHTML =3D "<br>";
  1136.         if ( transDirection =3D=3D FLYIN_ROTATE )        =09
  1137.             direction =3D count % FLYIN_ROTATE;            =09
  1138.         else
  1139.             direction =3D transDirection;
  1140.     =09
  1141.         if        ( direction =3D=3D FLYIN_LEFT )
  1142.         {
  1143.             tempPos =3D -(currentEl.offsetParent.offsetLeft + =
  1144. currentEl.offsetParent.offsetWidth);
  1145.             currentEl.style.posLeft =3D tempPos;                    =09
  1146.             textOrder[count].dx =3D -movePerTick;                    =09
  1147.             textOrder[count].dy =3D 0;
  1148.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1149.         }
  1150.         else if ( direction =3D=3D FLYIN_RIGHT )
  1151.         {
  1152.             tempPos =3D objPlayer.HTML.parentElement.offsetWidth - =
  1153. currentEl.offsetParent.offsetLeft;
  1154.             currentEl.style.posLeft =3D tempPos;
  1155.             textOrder[count].dx =3D movePerTick;                    =09
  1156.             textOrder[count].dy =3D 0;
  1157.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1158.         }
  1159.         else if    ( direction =3D=3D FLYIN_TOP )
  1160.         {
  1161.             tempPos =3D -(currentEl.offsetParent.style.posTop + =
  1162. currentEl.offsetParent.offsetHeight);
  1163.             currentEl.style.posTop =3D tempPos;
  1164.             textOrder[count].dx =3D 0;
  1165.             textOrder[count].dy =3D (-movePerTick);                =09
  1166.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1167.         }
  1168.         else if ( direction =3D=3D FLYIN_BOTTOM )
  1169.         {
  1170.             tempPos =3D objPlayer.HTML.parentElement.offsetHeight - =
  1171. currentEl.offsetParent.style.posTop;
  1172.             currentEl.style.posTop =3D tempPos;
  1173.             textOrder[count].dx =3D 0;
  1174.             textOrder[count].dy =3D movePerTick;                    =09
  1175.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1176.         }
  1177.     }
  1178. =09
  1179.     transition.charIdx =3D 0;                            =09
  1180.     transition.moveIdx =3D 0;                            =09
  1181.     textElName =3D transition.textOrder[0].name;
  1182.     transition.currentEl =3D document.all[textElName];=09
  1183.     SetVisibility( transition.currentEl, IE_VISIBLE );
  1184.     return true;
  1185. }
  1186. function StartTextFlyin( objPlayer )
  1187. {
  1188. =09
  1189.     SetVisibility( objPlayer.HTML, IE_VISIBLE );
  1190.     StartAnimationTimer( objPlayer, TextFlyinTick );
  1191. }
  1192. function TextFlyinTick( objPlayer )
  1193. {
  1194.     var    transition =3D objPlayer.entryTrans;                    =09
  1195.     var    spanObj =3D transition.textOrder[transition.charIdx];    =09
  1196.     var textEl =3D transition.currentEl;                        =09
  1197. =09
  1198. =09
  1199.     if ( ++transition.moveIdx < spanObj.iterations)            =09
  1200.     {
  1201.         textEl.style.posTop -=3D spanObj.dy;                    =09
  1202.         textEl.style.posLeft -=3D spanObj.dx;
  1203.         return false;                                        =09
  1204.     }
  1205.     =09
  1206. =09
  1207.     textEl.style.posTop =3D 0;                                =09
  1208.     textEl.style.posLeft =3D 0;
  1209.     =09
  1210. =09
  1211.     if ( (charIdx =3D ++transition.charIdx) >=3D =
  1212. transition.textOrder.length )=09
  1213.     {
  1214.         PlayerEntryTransitionDone( objPlayer );                =09
  1215.         return true;                                        =09
  1216.     }
  1217.     else
  1218.     {
  1219.         transition.moveIdx =3D 0;                                =09
  1220.         textElName =3D transition.textOrder[charIdx].name;
  1221.         transition.currentEl =3D document.all[textElName];    =09
  1222.         transition.currentEl.style.visibility =3D IE_VISIBLE;    =09
  1223.         return false;                                        =09
  1224.     }                                                        =09
  1225. }
  1226. var    SND_DUR_SCENE            =3D -1;=09
  1227. var    SND_DUR_PROJECT            =3D 0;=09
  1228. var ST_WAV                    =3D 1;=09
  1229. var    ST_MID                    =3D 2;=09
  1230. var    NAV_EXT                    =3D "nav"=09
  1231. var MidiTag                    =3D null;=09
  1232. function Sound( delay, duration, loop, soundType, tagName, fileName )
  1233. {
  1234. =09
  1235.     this.Initialize =3D InitializeSound;
  1236.     this.Start =3D StartSound;
  1237.     this.Trigger =3D StartSound;
  1238.     this.Stop =3D StopSound;
  1239.     this.StopEverything =3D StopEverythingOnSounds;
  1240. =09
  1241.     this.delay =3D delay;
  1242.     this.duration =3D duration;
  1243.     this.loop =3D loop;
  1244.     this.tagName =3D tagName;
  1245.     this.fileName =3D fileName;
  1246.     this.soundType =3D soundType;
  1247. }
  1248. function InitializeSound( objParent, objSound )
  1249. {
  1250.     if ( sys =3D=3D "Netscape" )
  1251.     {
  1252.         objSound.navLoop =3D (objSound.loop =3D=3D -1) ? true : false;
  1253.         objSound.html =3D document[objSound.tagName+NAV_EXT];
  1254.         return;
  1255.     }
  1256.     objSound.objParent =3D objParent;                =09
  1257.     objSound.html =3D document.all[objSound.tagName];=09
  1258.     objSound.fileName =3D objSound.html.soundsrc;    =09
  1259. =09
  1260. =09
  1261.     if (objSound.soundType =3D=3D ST_MID )
  1262.     {
  1263.         if ( MidiTag =3D=3D null )                    =09
  1264.             MidiTag =3D objSound.html;            =09
  1265.         else
  1266.             objSound.html =3D MidiTag;            =09
  1267.     }        =09
  1268. }
  1269. function StartSound( objSound )
  1270. {
  1271.     if ( sys =3D=3D "Netscape" )                    =09
  1272.     {
  1273.         if ( objSound.html !=3D null )            =09
  1274.             objSound.html.play(objSound.navLoop);
  1275.         return;
  1276.     }
  1277.     objSound.html.src =3D objSound.fileName;        =09
  1278.     objSound.html.loop =3D objSound.loop;            =09
  1279.     if ( objSound.soundType =3D=3D ST_WAV )        =09
  1280.         objSound.html.volume =3D 0;                    =09
  1281.     if ( objSound.duration > 0 )
  1282.         StartOneShotTimer( objSound, objSound.duration, objSound.Stop, =
  1283. TMR_PROJ );
  1284. }
  1285. function StopSound( objSound, fPause )
  1286. {
  1287.     if ( sys =3D=3D "Netscape" )                    =09
  1288.     {
  1289.         if ( objSound.html !=3D null )            =09
  1290.             objSound.html.stop();
  1291.         return;
  1292.     }
  1293.     objSound.html.loop =3D 0;
  1294.     objSound.html.src =3D "";                            =09
  1295.     if ( objSound.soundType =3D=3D ST_WAV )
  1296.         objSound.html.volume =3D -10000;
  1297. }
  1298. function StopEverythingOnSounds( objSound )
  1299. {
  1300.     StopSound( objSound, true );
  1301.     if ( (sys !=3D "Netscape") && (os =3D=3D "NT") )                =09
  1302.         objSound.html.volume =3D -500;                        =09
  1303. }
  1304. var    SND_DUR_SCENE            =3D -1;=09
  1305. var    SND_DUR_PROJECT            =3D 0;=09
  1306. function Swapper( idle, hover, click )
  1307. {
  1308. =09
  1309.     this.Initialize =3D InitializeSwap;
  1310.     this.Start =3D StartSwap;
  1311.     this.Trigger =3D TriggerSwap;
  1312.     this.Stop =3D StopSwap;
  1313.     this.StopEverything =3D StopSwap;
  1314. =09
  1315.     this.idle =3D idle;
  1316.     this.hover =3D hover;
  1317.     this.click =3D click;
  1318. }
  1319. function InitializeSwap( objParent, objSwap )
  1320. {
  1321.     if ( stProjState !=3D PS_UNINITIALIZED )            =09
  1322.         return;
  1323. =09
  1324.     var    idle    =3D objSwap.idle;                        =09
  1325.     var    hover    =3D objSwap.hover;
  1326.     var    click    =3D objSwap.click;
  1327. =09
  1328. =09
  1329. =09
  1330. =09
  1331. =09
  1332. =09
  1333. =09
  1334.     if ( (hover !=3D null) && (hover !=3D "") && (document.all[hover].src =
  1335. !=3D null) )
  1336.     {
  1337.         SetVisibility( document.all[hover], IE_HIDDEN );
  1338.         objSwap.srcHover =3D document.all[hover].src;
  1339.         document.all[hover].src =3D "";
  1340.     }
  1341.     else
  1342.         objSwap.srcHover =3D document.all[idle].src;
  1343.     if ( (click !=3D null) && (click !=3D "") && (document.all[click].src =
  1344. !=3D null) )
  1345.     {
  1346.         SetVisibility( document.all[click], IE_HIDDEN );
  1347.         objSwap.srcClick =3D document.all[click].src;
  1348.         document.all[click].src =3D "";
  1349.     }
  1350.     else
  1351.         objSwap.srcClick =3D document.all[idle].src;
  1352. =09
  1353.     objSwap.srcIdle =3D document.all[idle].src;
  1354. }
  1355. function StartSwap( objSwap )
  1356. {
  1357. =09
  1358. }
  1359. function TriggerSwap( objSwap, eventType )
  1360. {
  1361.     if ( eventType =3D=3D TT_BUTTONDOWN )
  1362.         document.all[objSwap.idle].src =3D objSwap.srcClick;
  1363.     else if ( eventType =3D=3D TT_BUTTONUP )
  1364.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1365.     else if ( eventType =3D=3D TT_MOUSEOVER )
  1366.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1367.     else if ( eventType =3D=3D TT_MOUSEOUT )
  1368.         document.all[objSwap.idle].src =3D objSwap.srcIdle;
  1369.     return;
  1370. }
  1371. function StopSwap( objSwap, fPause )
  1372. {
  1373.     if ( fPause )                        =09
  1374.         return;
  1375. }
  1376. var    PATH_PER_TICK =3D new Array(50,40,30,20,10);    =09
  1377. var    PE_STOP        =3D 0;                            =09
  1378. var    PE_AGAIN    =3D 1;                            =09
  1379. var    PE_REV        =3D 2;                            =09
  1380. var    PE_EXIT        =3D 3;                            =09
  1381. var    PD_FWD        =3D 1;
  1382. var    PD_BACK        =3D -1;
  1383. function Point( x, y, rate )
  1384. {
  1385.     this.x =3D x;
  1386.     this.y =3D y;
  1387.     this.rate =3D rate;
  1388. }
  1389. function Paths( delay, edgeEffect )
  1390. {
  1391. =09
  1392.     this.Initialize =3D InitializePathAnimation;
  1393.     this.Start =3D StartPathAnimation;
  1394.     this.Trigger =3D StartPathAnimation;
  1395.     this.Stop =3D StopPathAnimation;
  1396.     this.StopEverything =3D StopPathAnimation;
  1397. =09
  1398.     this.delay =3D delay;
  1399.     this.edgeEffect =3D edgeEffect;
  1400. }
  1401. function InitializePathAnimation( objPlayer, path )
  1402. {
  1403.     var    segment;                                =09
  1404.     var pathIndex;
  1405.     var totalDistance;                            =09
  1406.     var    distanceX;                                =09
  1407.     var    distanceY;
  1408.     var dx;                                        =09
  1409.     var    dy;
  1410.     var travelTime;                                =09
  1411.     var    remX;                                    =09
  1412.     var    remY;
  1413. =09
  1414.     if ( stProjState !=3D PS_UNINITIALIZED )
  1415.     {
  1416.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1417.         return;
  1418.     }
  1419.     path.objPlayer =3D objPlayer;                    =09
  1420.     halfWidth =3D Math.floor(objPlayer.HTML.offsetWidth/2);    =09
  1421.     halfHeight =3D Math.floor(objPlayer.HTML.offsetHeight/2);
  1422. =09
  1423. =09
  1424.     path[0].x -=3D halfWidth;
  1425.     path[0].y -=3D halfHeight;
  1426.     objPlayer.position.SetPosition( path[0].x, path[0].y );
  1427.     for ( pathIndex=3D0; path[pathIndex+1] !=3D null; pathIndex++ )=09
  1428.     {
  1429.         px =3D parseInt(pathIndex);                =09
  1430.         segment =3D path[px];                        =09
  1431.     =09
  1432.     =09
  1433.     =09
  1434.         path[px+1].x -=3D halfWidth;
  1435.         path[px+1].y -=3D halfHeight;
  1436.     =09
  1437.         distanceX =3D path[px+1].x - segment.x;    =09
  1438.         distanceY =3D path[px+1].y - segment.y;    =09
  1439.     =09
  1440.         totalDistance =3D Math.sqrt( (distanceX*distanceX) + =
  1441. (distanceY*distanceY) );
  1442.     =09
  1443.     =09
  1444.         travelTime =3D Math.round(totalDistance / =
  1445. PATH_PER_TICK[segment.rate]);
  1446.     =09
  1447.     =09
  1448.         if ( distanceX > 0 )                        =09
  1449.             dx =3D Math.floor( distanceX / travelTime );=09
  1450.         else if ( distanceX < 0 )                    =09
  1451.             dx =3D Math.ceil( distanceX / travelTime );=09
  1452.         else
  1453.             dx =3D 0;
  1454.     =09
  1455.     =09
  1456.     =09
  1457.     =09
  1458.         remX =3D distanceX % travelTime;
  1459.     =09
  1460.         if ( distanceY > 0 )                        =09
  1461.             dy =3D Math.floor( distanceY / travelTime );
  1462.         else if ( distanceY < 0 )
  1463.             dy =3D Math.ceil( distanceY / travelTime );
  1464.         else
  1465.             dy =3D 0;
  1466.         remY =3D distanceY % travelTime;
  1467.         segment.number =3D px;                        =09
  1468.         segment.ticks =3D 0;
  1469.         segment.travelTime =3D travelTime;
  1470.         segment.dx =3D dx;
  1471.         segment.dy =3D dy;
  1472.         segment.remX =3D remX;
  1473.         segment.remY =3D remY;
  1474.     }
  1475.     path.numSegs =3D parseInt(pathIndex);                =09
  1476.     path.dir =3D PD_FWD;                                        =09
  1477.     return;
  1478. }
  1479. function StartPathAnimation( path )
  1480. {
  1481.     path.currentSegment =3D path[0];    =09
  1482.     path.currentSegment.ticks =3D 0;    =09
  1483.     path.cntSegs =3D 0;                                =09
  1484. =09
  1485. =09
  1486.     if ( path.dir =3D=3D PD_BACK )                            =09
  1487.     {
  1488.         for ( var ii=3D0; ii<path.numSegs; ii++ )            =09
  1489.         {
  1490.             path[ii].dx *=3D -1;
  1491.             path[ii].dy *=3D -1;
  1492.             path[ii].remX *=3D -1;
  1493.             path[ii].remY *=3D -1;
  1494.         }
  1495.         path.dir =3D PD_FWD;                                =09
  1496.     }
  1497.     StartAnimationTimer( path, PathAnimationTick );
  1498. }
  1499. function StopPathAnimation( path, fPause )
  1500. {
  1501.     return;
  1502. }
  1503. function PathAnimationTick( path )
  1504. {
  1505.     var    objPlayer =3D path.objPlayer;            =09
  1506.     var segment =3D path.currentSegment;        =09
  1507.     var    currentPosition =3D objPlayer.position;=09
  1508.     if ( ++segment.ticks <=3D segment.travelTime )    =09
  1509.     {
  1510.         newX =3D currentPosition.x + segment.dx;        =09
  1511.         if ( segment.ticks <=3D Math.abs(segment.remX) )=09
  1512.             segment.remX > 0 ? newX++ : newX--;
  1513.         newY =3D currentPosition.y + segment.dy;        =09
  1514.         if ( segment.ticks <=3D Math.abs(segment.remY) )=09
  1515.             segment.remY > 0 ? newY++ : newY--;
  1516.         currentPosition.SetPosition( newX, newY );=09
  1517.         return false;                            =09
  1518.     }
  1519. =09
  1520. =09
  1521.     if ( ++path.cntSegs < path.numSegs )
  1522.     {
  1523.     =09
  1524.         path.currentSegment =3D path[segment.number+path.dir];    =09
  1525.         path.currentSegment.ticks =3D 0;                            =09
  1526.             =09
  1527.         return false;
  1528.     }
  1529.     =09
  1530. =09
  1531.     if            ( path.edgeEffect =3D=3D PE_AGAIN )    =09
  1532.     {
  1533.     =09
  1534.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1535.     =09
  1536.         path.currentSegment =3D path[0];                =09
  1537.         path.currentSegment.ticks =3D 0;                =09
  1538.         path.cntSegs =3D 0;                            =09
  1539.         return false;                                =09
  1540.     }                        =09
  1541.     else if        ( path.edgeEffect =3D=3D PE_REV )        =09
  1542.     {
  1543.         path.dir *=3D -1;                                =09
  1544.     =09
  1545.         for ( var ii=3D0; ii<path.numSegs; ii++ )
  1546.         {
  1547.             path[ii].dx *=3D -1;
  1548.             path[ii].dy *=3D -1;
  1549.             path[ii].remX *=3D -1;
  1550.             path[ii].remY *=3D -1;
  1551.         }
  1552.         path.currentSegment.ticks =3D 0;                =09
  1553.         path.cntSegs =3D 0;                            =09
  1554.         return false;
  1555.     }
  1556.     else if        ( path.edgeEffect =3D=3D PE_EXIT )
  1557.     {
  1558.         PlayerExit( objPlayer );
  1559.         return true;
  1560.     }
  1561.     else
  1562.         return true;                                =09
  1563. }
  1564. var    GROW_PER_TICK =3D new Array(20,14,8,4,1);    =09
  1565. function Size( zoom, rate )
  1566. {
  1567.     this.zoom =3D zoom;
  1568.     this.rate =3D rate;
  1569. }
  1570. function Grows( delay )
  1571. {
  1572. =09
  1573.     this.Initialize =3D InitializeGrowAnimation;
  1574.     this.Start =3D StartGrowAnimation;
  1575.     this.Trigger =3D StartGrowAnimation;
  1576.     this.Stop =3D StopGrowAnimation;
  1577.     this.StopEverything =3D StopGrowAnimation;
  1578. =09
  1579.     this.delay =3D delay;
  1580. }
  1581. function InitializeGrowAnimation( objPlayer, grow )
  1582. {
  1583.     if ( sys =3D=3D "Netscape" )
  1584.         return;
  1585.     var    child =3D objPlayer.HTML.children[0];                    =09
  1586.     var playerType =3D GetPlayerTypeFromName( objPlayer.name );=09
  1587. =09
  1588. =09
  1589. =09
  1590.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1591.     {
  1592.         grow.realWidth =3D child.width;
  1593.         grow.realHeight =3D child.height;
  1594.     }
  1595.     if ( (playerType =3D=3D PLAYER_TEXT) || sys =3D=3D "Netscape" )=09
  1596.     {
  1597.         grow =3D null;                                        =09
  1598.         return;
  1599.     }
  1600.     grow.objPlayer =3D objPlayer;                                =09
  1601. =09
  1602.     grow.currentSegment =3D grow[0];                            =09
  1603.     grow.currentGrowth =3D grow.currentSegment.zoom;            =09
  1604. =09
  1605. =09
  1606. =09
  1607.     child.width *=3D (grow.currentSegment.zoom / 100);        =09
  1608.     child.height *=3D (grow.currentSegment.zoom / 100);
  1609. =09
  1610.     for ( var growIndex=3D0; grow[growIndex] !=3D null; growIndex++ )=09
  1611.     {
  1612.         gx =3D parseInt(growIndex);                =09
  1613.         segment =3D grow[gx];                        =09
  1614.         if ( grow[gx+1] =3D=3D null )                =09
  1615.         {
  1616.             grow.finalSegment =3D grow[gx-1];        =09
  1617.             break;                                =09
  1618.         }
  1619.     =09
  1620.         growth =3D grow[gx+1].zoom - segment.zoom;                =09
  1621.         if ( growth >=3D 0 )                                        =09
  1622.             growthFactor =3D GROW_PER_TICK[segment.rate];            =09
  1623.         else
  1624.             growthFactor =3D -(GROW_PER_TICK[segment.rate]);
  1625.     =09
  1626.         growthTicks =3D growth / growthFactor;        =09
  1627.     =09
  1628.         segment.number =3D gx;                        =09
  1629.         segment.growth =3D growth;
  1630.         segment.growthFactor =3D growthFactor;
  1631.         segment.growthTicks =3D growthTicks;
  1632.         segment.currentTicks =3D 0;
  1633.     }
  1634. }
  1635. function StartGrowAnimation( grow )
  1636. {=09
  1637.     if ( sys =3D=3D "Netscape" )
  1638.         return;
  1639.     grow.currentSegment =3D grow[0];                        =09
  1640.     grow.currentTicks =3D 0;
  1641.     StartAnimationTimer( grow, GrowAnimationTick );
  1642. }
  1643. function StopGrowAnimation( grow, fPause )
  1644. {
  1645.     return;
  1646. }
  1647. function GrowAnimationTick( grow )
  1648. {
  1649.     if ( sys =3D=3D "Netscape" )
  1650.         return true;                                    =09
  1651.     var    objPlayer =3D grow.objPlayer;                        =09
  1652.     var    child =3D objPlayer.HTML.children[0];                =09
  1653.     var segment =3D grow.currentSegment;                    =09
  1654.     grow.currentGrowth +=3D segment.growthFactor;            =09
  1655.     child.width =3D grow.realWidth*(grow.currentGrowth/100);=09
  1656.     child.height =3D grow.realHeight*(grow.currentGrowth/100);
  1657.     if ( ++grow.currentTicks <=3D segment.growthTicks )    =09
  1658.         return false;                                    =09
  1659.     if ( grow.currentSegment =3D=3D grow.finalSegment )        =09
  1660.         return true;                                    =09
  1661.     grow.currentSegment =3D grow[ segment.number+1 ];        =09
  1662.     grow.currentTicks =3D 0;
  1663.     return false;                                        =09
  1664. }
  1665. function Timer()
  1666. {
  1667.     if ( Project.tickRate =3D=3D null )        =09
  1668.         this.tickRate =3D DEFAULT_TICK_RATE;
  1669.     else
  1670.         this.tickRate =3D Project.tickRate;
  1671.     this.oneShots =3D new Array();
  1672.     this.animations =3D new Array();
  1673.     this.tickCounter =3D 0;                        =09
  1674.     this.ticksPerSecond =3D 1000 / (this.tickRate);=09
  1675.     this.timerID =3D null;
  1676.     this.StartTicking =3D StartTicking;            =09
  1677.     this.StopTicking =3D StopTicking;
  1678. =09
  1679. }
  1680. function StartTicking()
  1681. {
  1682.     if ( this.timerID =3D=3D null )
  1683.         this.timerID =3D setInterval( "TimerTick()", this.tickRate );
  1684. }
  1685. function StopTicking()
  1686. {
  1687.     if ( this.timerID !=3D null )
  1688.         clearInterval( this.timerID );
  1689.     this.timerID =3D null;
  1690. }
  1691. function TimerTick()
  1692. {
  1693.     var timerEvent;
  1694. =09
  1695.     for ( var ii=3D0; ii<tickTimer.animations.length; ii++ )    =09
  1696.     {
  1697.         if ( (timerEvent=3DtickTimer.animations[ii]) =3D=3D null )=09
  1698.             continue;                                        =09
  1699.         if ( timerEvent.callback( timerEvent.callbackObj ) =3D=3D true )=09
  1700.             tickTimer.animations[ii] =3D null;                =09
  1701.     }
  1702. =09
  1703.     if ( (++tickTimer.tickCounter % tickTimer.ticksPerSecond) =3D=3D 0 )=09
  1704.     {
  1705.     =09
  1706.         var length =3D tickTimer.oneShots.length;                =09
  1707.         for ( var ii=3D0; ii<length && (tickTimer!=3Dnull); ii++ )=09
  1708.         {
  1709.             if ( (timerEvent=3DtickTimer.oneShots[ii]) =3D=3D null )=09
  1710.                 continue;                                    =09
  1711.         =09
  1712.             if ( timerEvent.time <=3D tickTimer.tickCounter )    =09
  1713.             {
  1714.                 tickTimer.oneShots[ii] =3D null;                =09
  1715.                 timerEvent.callback( timerEvent.callbackObj );=09
  1716.             }
  1717.         }
  1718.     }
  1719.     return;
  1720. }
  1721. function StartOneShotTimer( obj, time, callback, type )
  1722. {
  1723.     var    timerIndex;                                =09
  1724.     var timerEvent =3D new Object();                =09
  1725. =09
  1726.     timerEvent.callbackObj =3D obj;                =09
  1727.     timerEvent.callback =3D callback;                =09
  1728.     timerEvent.type =3D type;                        =09
  1729. =09
  1730. =09
  1731.     timerEvent.time =3D tickTimer.tickCounter + (time * =
  1732. tickTimer.ticksPerSecond);
  1733.     for ( timerIndex=3D0; tickTimer.oneShots[timerIndex]!=3Dnull; =
  1734. timerIndex++ );=09
  1735.     tickTimer.oneShots[timerIndex] =3D timerEvent;=09
  1736.     return;
  1737. }
  1738. function StartAnimationTimer( obj, callback )
  1739. {
  1740.     var timerIndex;=20
  1741.     timerEvent =3D new Object();
  1742.     timerEvent.callbackObj =3D obj;                =09
  1743.     timerEvent.callback =3D callback;                =09
  1744.     for ( timerIndex=3D0; tickTimer.animations[timerIndex]!=3Dnull; =
  1745. timerIndex++);=09
  1746.     tickTimer.animations[timerIndex] =3D timerEvent;
  1747. }
  1748. function StopSceneTimers()
  1749. {
  1750.     for (var ii=3D0; ii<tickTimer.oneShots.length; ii++)=09
  1751.     {
  1752.         if ( tickTimer.oneShots[ii] =3D=3D null )        =09
  1753.             continue;
  1754.         if ( tickTimer.oneShots[ii].type =3D=3D TMR_SCENE )
  1755.             tickTimer.oneShots[ii] =3D null;            =09
  1756.     }
  1757. =09
  1758.     for (var ii=3D0; ii<tickTimer.animations.length; ii++)
  1759.         tickTimer.animations[ii] =3D null;
  1760. }
  1761. =09
  1762. function KillTimer()
  1763. {
  1764.     if ( tickTimer !=3D null )                    =09
  1765.     {
  1766.         window.clearTimeout( tickTimer.timerID);=09
  1767.         tickTimer =3D null;                        =09
  1768.     }
  1769. }
  1770. function SetColor(el, color)=20
  1771. {
  1772.     if ( el.style =3D=3D null )                =09
  1773.         return;
  1774. =09
  1775.     el.style.backgroundColor =3D color;    =09
  1776.     if ("Netscape"=3D=3Dsys)=20
  1777.         el.NSLayer.bgColor =3D color;        =09
  1778. }
  1779. function SetZIndex(el, zindex)=20
  1780. {
  1781.     if ( el.style =3D=3D null )                =09
  1782.         return;
  1783. =09
  1784.     el.style.zIndex =3D zindex;            =09
  1785.     if ("Netscape"=3D=3Dsys)=20
  1786.         el.NSLayer.zIndex =3D zindex        =09
  1787. }
  1788. function SetVisibility(el, val)=20
  1789. {
  1790.     if ( el.style =3D=3D null )                =09
  1791.         return;
  1792.     el.style.visibility =3D val;            =09
  1793.        =20
  1794.     if ( "Netscape"=3D=3Dsys )                =09
  1795.     {
  1796.         if        ( val =3D=3D IE_HIDDEN )
  1797.             el.NSLayer.visibility =3D NAV_HIDDEN;
  1798.         else if ( val =3D=3D IE_VISIBLE )
  1799.             el.NSLayer.visibility =3D NAV_VISIBLE;
  1800.         else if ( val =3D=3D IE_INHERIT )
  1801.             el.NSLayer.visibility =3D NAV_INHERIT;
  1802.         else
  1803.             el.NSLayer.visibility =3D "";
  1804.     }
  1805. }
  1806. function Position( obj )
  1807. {
  1808.     this.object =3D obj;                        =09
  1809.     this.x =3D obj.HTML.style.pixelLeft;        =09
  1810.     this.y =3D obj.HTML.style.pixelTop;        =09
  1811.     this.SetPosition =3D SetPosition;
  1812. }
  1813. function SetPosition( newX, newY )=20
  1814. {
  1815.     var el =3D this.object.HTML;                =09
  1816.     if ( el.style =3D=3D null )                    =09
  1817.         return;
  1818.                 =09
  1819.     el.style.pixelTop =3D newY;    =09
  1820.     el.style.pixelLeft =3D newX;
  1821.     this.x =3D newX;                            =09
  1822.     this.y =3D newY;
  1823.     if ( "Netscape"=3D=3Dsys )                    =09
  1824.     {
  1825.         el.NSLayer.top =3D parseInt( newY );
  1826.         el.NSLayer.left =3D parseInt( newX );
  1827.         el.offsetTop =3D el.NSLayer.top;
  1828.         el.offsetLeft =3D el.NSLayer.left;
  1829.     }
  1830. }
  1831. function SetContent(el, content)=20
  1832. {
  1833.     if ( el.style =3D=3D null )                    =09
  1834.         return;
  1835.     if ( "Netscape"=3D=3Dsys )                    =09
  1836.     {
  1837.         el.NSLayer.document.open();            =09
  1838.         el.NSLayer.document.write(content);    =09
  1839.         el.NSLayer.document.close();        =09
  1840.     }
  1841.     else                                    =09
  1842.         el.innerHTML=3Dcontent;
  1843. }
  1844. function SetupButtons()
  1845. {
  1846.     var rtn =3D false;                    =09
  1847.     if ( document.all.Pause !=3D null )
  1848.     {
  1849.         document.all.Pause.onclick =3D Pause;
  1850.         strPause =3D document.all.Pause.value.split( '/' );
  1851.         document.all.Pause.value =3D strPause[0];
  1852.     }
  1853.     if (document.all.Stop !=3D null )
  1854.         document.all.Stop.onclick =3D Stop;
  1855.     if ( document.all.Forward !=3D null )
  1856.         document.all.Forward.onclick =3D Forward;
  1857.     if ( document.all.Backward !=3D null )
  1858.         document.all.Backward.onclick =3D Backward;
  1859.     if ( document.all.Webpage !=3D null )
  1860.         document.all.Webpage.onclick =3D GotoWebpage;
  1861.     if ( document.all.SceneStatus !=3D null )
  1862.         formStatus =3D document.all.SceneStatus;
  1863.     if ( document.all.Start !=3D null )
  1864.     {
  1865.         document.all.Start.onclick =3D Start;
  1866.         strPlay =3D document.all.Start.value.split( '/' );
  1867.         document.all.Start.value =3D strPlay[0];
  1868.         rtn =3D true;
  1869.     }
  1870.     else
  1871.         rtn =3D false;
  1872.     if ( document.all.NavigationButtons !=3D null )
  1873.         SetVisibility( document.all.NavigationButtons, IE_VISIBLE );
  1874.     return rtn;
  1875. }
  1876. function Start()
  1877. {
  1878.     if ( stNoInput )                                    =09
  1879.         return;
  1880.     if ( stButtons =3D=3D true )                            =09
  1881.     {
  1882.         document.all.Start.value =3D strPlay[1];
  1883.         if ( document.all.Pause !=3D null )
  1884.         {
  1885.             document.all.Pause.value =3D strPause[0];
  1886.         }
  1887.     }
  1888.     if            ( (stProjState =3D=3D PS_RUNNING) || (stProjState =3D=3D =
  1889. PS_PAUSED) )=09
  1890.     {
  1891.         ProjectShutdown();
  1892.         ProjectInitialize();
  1893.     }
  1894.     else if        ( stProjState !=3D PS_INITIALIZED )    =09
  1895.         ProjectInitialize();
  1896.     ProjectStart();                                    =09
  1897. }
  1898. function Pause()
  1899. {
  1900. =09
  1901.     if ( stProjState =3D=3D PS_PAUSED )                    =09
  1902.     {
  1903.         tickTimer.StartTicking();                    =09
  1904.         if ( document.all.Pause !=3D null )
  1905.         {
  1906.             document.all.Pause.value =3D strPause[0];
  1907.         }
  1908.         stProjState =3D PS_RUNNING;
  1909.         StatusChange();                                =09
  1910.     }
  1911.     else
  1912.     {
  1913.         if ( tickTimer !=3D null )                    =09
  1914.             tickTimer.StopTicking();                =09
  1915.         if    ( stProjState !=3D PS_RUNNING )            =09
  1916.             return;
  1917.         stProjState =3D PS_PAUSED;
  1918.         if ( document.all.Pause !=3D null )
  1919.         {
  1920.             document.all.Pause.value =3D strPause[1];
  1921.         }
  1922.         StopEverythingOnScenes( true );                =09
  1923.         StatusChange();                                =09
  1924.     }
  1925. }
  1926. function Stop()
  1927. {
  1928.     if ( stNoInput )                                    =09
  1929.         return;
  1930.     location.reload();
  1931. }
  1932. function Forward()
  1933. {
  1934.     if ( stNoInput )                                    =09
  1935.         return;
  1936. =09
  1937.     if ( stProjState !=3D PS_RUNNING )
  1938.         return;
  1939.     SceneExit( currentScene );                =09
  1940. }
  1941. function Backward()
  1942. {
  1943.     if ( stNoInput )                                    =09
  1944.         return;
  1945.     var nextScene;
  1946. =09
  1947. =09
  1948. =09
  1949.     if        ( stProjState =3D=3D PS_COMPLETE )
  1950.         nextScene =3D Project.stopScene;
  1951.     else if ( stProjState !=3D PS_RUNNING )
  1952.         return;
  1953.     else
  1954.         nextScene =3D (currentScene.number =3D=3D 0) ? 0 : currentScene.number =
  1955. - 1;
  1956.     ProjectShutdown();
  1957.     ProjectInitialize();
  1958.     ProjectStart( nextScene );            =09
  1959. }
  1960. function GotoWebpage()
  1961. {
  1962.     window.open( Project.webpage);                    =09
  1963. }
  1964. function StatusChange( )
  1965. {
  1966.     var        stsPage =3D null;                =09
  1967.     var        stsState =3D null;            =09
  1968.     if        ( stProjState =3D=3D PS_UNINITIALIZED )
  1969.     {
  1970.         stsState =3D "Initializing";
  1971.         stsPage =3D ""
  1972.     }
  1973.     else if ( stProjState =3D=3D PS_INITIALIZED )
  1974.     {
  1975.         stsState =3D "Ready";
  1976.         stsPage =3D "";
  1977.     }
  1978.     else if    ( stProjState =3D=3D PS_RUNNING )
  1979.     {
  1980.         stsState =3D "Playing";
  1981.         stsPage =3D (currentScene.number+1) + " / " + nScenes;
  1982.     }
  1983.     else if    ( stProjState =3D=3D PS_PAUSED )
  1984.         stsState =3D "Paused";
  1985.     else if    ( stProjState =3D=3D PS_COMPLETE )
  1986.         stsState =3D "Complete";
  1987. =09
  1988.     if ( (formStatus !=3D null) && (stsPage !=3D null) )
  1989.         formStatus.value =3D stsPage;
  1990. =09
  1991.     if ( stsState !=3D null )
  1992.         top.status =3D stsState;=20
  1993. }
  1994. function GetSceneFromNumber( sceneNum )
  1995. {
  1996.     return sceneArray[sceneNum];    =09
  1997. }
  1998. function GetPlayerFromName( playerName )
  1999. {
  2000.     var objPlayer;
  2001. =09
  2002. =09
  2003.     if ( (currentScene) && (currentScene.Players !=3Dnull) && ((objPlayer =
  2004. =3D currentScene.Players[playerName]) !=3D null) )                                                            =09
  2005.         return objPlayer;                    =09
  2006. =09
  2007.     var objScene;
  2008.     for ( sceneName in Scenes )                    =09
  2009.     {
  2010.         objScene =3D Scenes[sceneName];
  2011.         if ( objScene.Players !=3D null )
  2012.         {
  2013.             objPlayer =3D objScene.Players[playerName];
  2014.             if ( objPlayer !=3D null )
  2015.                 return objPlayer;                    =09
  2016.         }
  2017.     }=09
  2018.         =09
  2019.     return null;                                =09
  2020. }
  2021. function GetObjectTypeFromName( nameString )
  2022. {
  2023.     var type =3D nameString.substr(0,1);    =09
  2024.     if        ( type =3D=3D NAME_SCENE )        =09
  2025.         return OBJ_SCENE;
  2026.     else if    ( type =3D=3D NAME_PLAYER )        =09
  2027.         return OBJ_PLAYER;
  2028. }
  2029. function GetPlayerTypeFromName( nameString )
  2030. {
  2031.     var type =3D nameString.substr(1,1);    =09
  2032.     if        ( type =3D=3D PLAYER_NAME_IMAGE )    =09
  2033.         return PLAYER_IMAGE;
  2034.     else if    ( type =3D=3D PLAYER_NAME_DRAW )    =09
  2035.         return PLAYER_DRAW;
  2036.     else if    ( type =3D=3D PLAYER_NAME_TEXT )    =09
  2037.         return PLAYER_TEXT;
  2038. }
  2039. function resetGifAnimation()
  2040. {
  2041.     var temp =3D document.all["img1"].src;
  2042.     document.all["img1"].src =3D temp;
  2043. }
  2044. Project =3D new Project(50, 0, 0, 2, 1, 0, =
  2045. "http://home-publishing.com/SKU/V3Pub.asp");
  2046. Scenes =3D new Object();
  2047. Scenes.Sx1 =3D new Scene( 6 );
  2048. Scenes.Sx1.entryTrans =3D new Transition( -1, 1, 0, 0 );
  2049. Scenes.Sx1.Bhv =3D new Array();
  2050. Scenes.Sx1.Bhv[0] =3D new Sound( 1, -1, 0, 2, "AW62", =
  2051. "cid:02b601bd9e16$a53190c0$6e59389d@a-lingra.dns.microsoft.com" );
  2052. Scenes.Sx1.Bhv[1] =3D new Sound( 0, -1, 0, 1, "AW63", =
  2053. "cid:02ea01bd9e17$0c492ac0$6e59389d@a-lingra.dns.microsoft.com" );
  2054. Scenes.Sx1.Players =3D new Object();
  2055. Scenes.Sx1.Players.PD10 =3D new Player( 0, -1 );
  2056. Scenes.Sx1.Players.PD8 =3D new Player( 0, -1 );
  2057. Scenes.Sx1.Players.PI16 =3D new Player( 1, -1 );
  2058. Scenes.Sx1.Players.PI16.entryTrans =3D new Transition( 12, 0, 0, 0 );
  2059. Scenes.Sx1.Players.PT23 =3D new Player( 1, -1 );
  2060. Scenes.Sx1.Players.PT23.entryTrans =3D new Transition( 12, 2, 0, 0 );
  2061.  
  2062. </SCRIPT>
  2063. </BODY></HTML>
  2064.  
  2065. ------=_NextPart_001_1361_01BDBE60.19931790--
  2066.  
  2067. ------=_NextPart_000_1360_01BDBE60.19931790
  2068. Content-Type: image/gif
  2069. Content-Transfer-Encoding: base64
  2070. Content-ID: <135501bdbe9a$c57322a0$ed5d389d@superwonker.dns.microsoft.com>
  2071. X-Content-Source: C:\TEMP\IMG26C.GIF
  2072.  
  2073. R0lGODlhOgIgA/f/AP//Zv39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2074. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2075. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2076. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2077. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2078. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2079. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2080. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2081. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2082. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2083. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2084. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2085. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2086. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA6AiAD
  2087. QAjSAAEIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEMi/CeypMmTKFOqXMmypcuX
  2088. MGMKJCmzps2bOHPq3MmzZ0uaPoMKHUq0qNGjSBMCTcq0qdOnUKNKnTm1qtWrWLNqvbh0q9evYMOK
  2089. 9dl1rNmzaNOqrVh2rdu3cON6bSu3rt27eHvSzcu3r9+/H/cCHky4sOGCgg8rXswYbuLGkCNLzvp4
  2090. suXLmItWzsy5s2eYmz+LHk26Y+jSqFOrZnh6tevXqVvDnk07s+zauHMvbb6tu7fvvrx/Cx/+Njjx
  2091. 48jDGk/OvHnV5c6jS0cKfbr16zyrY9/OHXT37+CJag9PvvzG8ebTq4+Ifr379wfbw5//Xj79++bt
  2092. 49//XT///9f5B+CAzglI4IHHGYjggr4pyOCDtTkI4YSuSUjhhaVoWYjhhp5pyOGHl3kI4oiQiUji
  2093. iYeZiOKKgKnI4ot5uQjjjHLJSOONa9mI445m6cjjj1/5COSQWAlJ5JFSGYnkkk0pyeSTRjkJ5ZRB
  2094. SUnllTpZieWWNWnJ5ZcueQnmmCmJSeaZIpmJ5ppRprHpZpBvxkmZnHQ+V+edUKmJ554j8elnlH8G
  2095. KpSegvJJaKF4HoponYouKmejjr4JaaRsTkopmpZeSmammoLJaadcfgoqlqKOSmWppkKJaqpMT67K
  2096. KpKuvkpkrLICSWutPN6KK4667kpjr77CCGywLA5LLIrGHktissqCyGyzHD4LLYbSTkthtdZCiG22
  2097. DG7LLYLefktguOICSG65/J2LLn5H6q5LX7vuwgdvvO7NS6969t6bn7615stveP7+25/ArAZM8HYG
  2098. HxygwqMmzLB0Dj9coMSaRkxxchZfnKDGkWbMsXAef9ygyIhGhkxybiafHKHKgabMMmwuv1yhzIbS
  2099. vGfMNqOGc86k7cyzaD7/3KHQjxIdZ9BGY4Z00pYtzbRkTj9dotSYUn1m1FYrhnXWhkNtzTVhXn/d
  2100. otihkr1l2GbzhXbaeK3Ntl1uv12j3KrS/WTcdruFd95q7c03Wn7/3aPgsxI+ZOCGg4V44nMxnqvj
  2101. Oy4ONnmRk98oeeV2Yi6s5ptzXqznn4OOrOijk76s6aej7qzqq7Mereuvw06t7LPTfq3tt+Oure67
  2102. 8zbere+/Aw+u8MMTP67xxyNvrvLLM5+u889Dz67001P/rvXXYy+v9ttzX6/334OPr/jjk7+v+eVL
  2103. XY5+muuTp377gcEP3vvyc0R//Rrdjz9G+u9vUf/+owgAAyiRARIQIgY8oEMSqEDWNDA6DHygUiTY
  2104. nAhS0CAWvCBBMqhBqnSQOBzsOmAINTjCC5aQgieUYAofuMIGtlCBLzxgDAk4wwDW0H833F8O8bfD
  2105. +vVQfj+EXxDbN8T1FRF9RzRfEsk6t0TxNRF8T/ReFLk3Re1VEXtXtF4WqbdF6XURel90XhiZN0bl
  2106. lRF5ZzReGom3RuG1EXhv9F0ceTdH3TrVEXd3tF0eabdH2fURdn90XSBZN0jVFRJ1hzRdIkm3SNE1
  2107. EnSP9FwkOTdJzVUSc5esXCYnt0nIddJxOZ9kXCgTN0rDlZJwpxRcKv+2Sr61Mm+vtFss6TZLudXy
  2108. bbdkWy7Ttkuz9ZJsvxRbML82TK4VM2vHtDpaMqm2TKk182nPZFo0kzZNo1WTaNcUWjZ/tk2edTNn
  2109. 37RZOGk2TpmV82XnZFk6VbbOk7WTZO8UWTw/OjZPjtVTY/e8WD4ptk+J9fNh/2RYQBU20IMVlGAH
  2110. FVhC/7VQfjVUXw+9V0TpNdF4VdRdF11XRtG10XI4dVRcH/1WSLk10myV1FonnVZKobXSZrVUWS89
  2111. VkyJNdNg1dRXN91VTnG10359EIQ/HU5PZTXUVxU6tWBBBVlSf3PUVDXVVE9t2FJHNlXdRBVUV+1U
  2112. VitWVat2FWVfxc1WLzVWSpW1Y2FdWVpnc1ZHtXVRbzot2VrZOleY1fU1cS1UXgW115bddWZ/VU1f
  2113. /zRYPxW2ZoGNTWIVu9gMNdaxjx3NYW8WWclWFmiX/cxkOROV2aF1ljObvVNoGfVZ0JbWNqdVWmpD
  2114. tNqmtXYyo6VTbIv22sjM9mi1tW1up7ZbxtxWUr31bXB3MzpcrRU3RcftWnIL81s3NbdSywVbdAfz
  2115. 3DVVt2rT/ct1r5Zd7XbXL9vd1HeBM161lTdG521beu8S3jG1O9dT64VbfOvy3i/Vt2zzjct9z5Zf
  2116. /fbXMf8tToD1NuAcFbhvB07LfkmVYMA1+CwLvlKET/XgwVVYLBOeOVKG63Zh5XTYwx+GU4gbN+Kt
  2117. bPhuJTZxirVy4lateE4vvkqLlzRjWMVYxje2So2PtOPC5XgqPT7cjzmBPOQkFTkqQbbVkfO05Kck
  2118. +UdPflyTmzRlKlc5KVGO3JWxvGXqdPkoWebVlwE1ZvGU2cxnHlSa1bw8ZrK02c1vzk6c5TznLNXZ
  2119. znfGSZgtl2c99/kme/7Vn20S6BkVunODjsmhX7To0CXaO4+GdKTDNOmXNHpFOJcuXaVZkukTdTp1
  2120. m17Jp0c06taFWiWl/lCqY3fqMrUa1a92daxPsuoN1bp2sy7JrS+069zlmn2/OgZ2sEHS6wkVu3fD
  2121. jl+ylb3sNjXb2c8+T7TtN21pVzsjx35QtoN3ba50m3/f9na42TJucpd7ItteULo5i3du9rS7gO92
  2122. d7wfsu4D1Tt5827IvQe07+bl24H/BnjAFdLv/xQ8egOfYMIVvvD4NLxPD8dgxCU+LvENVtziF/dg
  2123. xg++H45Xb+MZ1/jFPX4fkmcP5CE3+XxU3j2Uu3zkIQcAy+sT85klh+/lFbf5enRePpxPnOfpAfr5
  2124. fB5xoaev5khPedKJ/nCju2/pMCFXutSZ3nCnAwzqOcf6z7VedK433etVB/vCrT4/sSec7AMkm3rU
  2125. qT52sw8c7d2BO3fkjjC3B5zu2MH7wtSedb5v3e9dB/zXJQUfdsK33fBnt/u/9W4dxk/H8RBTfL4h
  2126. D0HJz5vyE0P82y0fb8wmV5Dz7/Y8c0SPMdC3m/TIQf3GNH93059b9UBl/eJdX27YC5X247YkvVJl
  2127. P3nch1v3TPX9t4FPVbYnnveXF363id8b5nsV+Z1X/rWdJA9W6Ide+tWmvlixP23tq9X4m7f+6bkf
  2128. be/Txvx0Ff/ryf9s9CXbVf21Z3+z3Y9X+S+b/oAFf+vhn3v7Jxv/qwGAguV/wyaAjKV/OLOXcv+w
  2129. gAzYgA74gBAYgRI4gRRYgRZ4gRiYgRq4gRzYgR74gSAYgiI4giRYgiZ4giiYgioogQEBADs=
  2130.  
  2131. ------=_NextPart_000_1360_01BDBE60.19931790
  2132. Content-Type: image/gif
  2133. Content-Transfer-Encoding: base64
  2134. Content-ID: <024a01bd9e15$80306900$6e59389d@a-lingra.dns.microsoft.com>
  2135. X-Content-Source: C:\WINDOWS\TEMP\IMG7294.GIF
  2136.  
  2137. R0lGODlhGQA0A/cAAP39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2138. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2139. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2140. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2141. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2142. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2143. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2144. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2145. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2146. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2147. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2148. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2149. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2150. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAZADQD
  2151. QAi9AAMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2152. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGgAJIqXcq06dKjUKNKnUq1qtWrWLNq3cq1q9evYMOK
  2153. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2154. MmGnmDMDsMy5s+fPoEOLHk26tOnTPKhTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2155. 48iTK1/OvLnz59CjS59Ovfpdzdiza18aEAA7
  2156.  
  2157. ------=_NextPart_000_1360_01BDBE60.19931790
  2158. Content-Type: image/gif
  2159. Content-Transfer-Encoding: base64
  2160. Content-ID: <025301bd9e15$b153c180$6e59389d@a-lingra.dns.microsoft.com>
  2161. X-Content-Source: C:\WINDOWS\TEMP\IMG9040.GIF
  2162.  
  2163. R0lGODlhGQA0A/cAAP39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2164. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2165. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2166. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2167. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2168. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2169. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2170. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2171. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2172. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2173. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2174. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2175. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2176. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAZADQD
  2177. QAi9AAMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2178. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGgAJIqXcq06dKjUKNKnUq1qtWrWLNq3cq1q9evYMOK
  2179. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2180. MmGnmDMDsMy5s+fPoEOLHk26tOnTPKhTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2181. 48iTK1/OvLnz59CjS59Ovfpdzdiza18aEAA7
  2182.  
  2183. ------=_NextPart_000_1360_01BDBE60.19931790
  2184. Content-Type: image/gif
  2185. Content-Transfer-Encoding: 7bit
  2186. Content-ID: <021701bd9e13$ed925780$6e59389d@a-lingra.dns.microsoft.com>
  2187. X-Content-Source: C:\mmeditor\v3grafix\j0095751.gif
  2188. X-Global-Moniker: :HOMEANIM\MAIN\J0095751.GIF
  2189.  
  2190.  
  2191. ------=_NextPart_000_1360_01BDBE60.19931790
  2192. Content-Type: audio/midi
  2193. Content-Transfer-Encoding: 7bit
  2194. Content-ID: <02b601bd9e16$a53190c0$6e59389d@a-lingra.dns.microsoft.com>
  2195. X-Content-Source: C:\mmeditor\music\Sn00589_.mid
  2196. X-Global-Moniker: :HOMESNMM\MAIN\SN00589_.MID
  2197.  
  2198.  
  2199. ------=_NextPart_000_1360_01BDBE60.19931790
  2200. Content-Type: audio/wav
  2201. Content-Transfer-Encoding: 7bit
  2202. Content-ID: <02ea01bd9e17$0c492ac0$6e59389d@a-lingra.dns.microsoft.com>
  2203. X-Content-Source: C:\mmeditor\sounds\Rbn32702.wav
  2204. X-Global-Moniker: :HOMESNMM\MAIN\RBN32702.WAV
  2205.  
  2206.  
  2207. ------=_NextPart_000_1360_01BDBE60.19931790
  2208. Content-Type: application/x-font
  2209. Content-Transfer-Encoding: 7bit
  2210. Content-ID: <135e01bdbe9a$c5db0c30$ed5d389d@superwonker.dns.microsoft.com>
  2211. X-Content-Source: Comic Sans MS.eot
  2212.  
  2213.  
  2214. ------=_NextPart_000_1360_01BDBE60.19931790--
  2215.